package com.xuecheng.content.service;

import com.xuecheng.commons.model.dto.TeachplanDto;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.content.domain.Teachplan;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程计划 服务类
 * </p>
 *
 * @author itheima
 * @since 2022-07-30
 */
public interface TeachplanService extends IService<Teachplan> {

    // 查询课程计划
    ResponseResult treeNodes(Long courseId);

    // 查询课程计划
    ResponseResult treeNodes2(Long courseId);

    // 保存或修改课程计划
    ResponseResult saveOrUpdateTeachplan(TeachplanDto dto);

    // 删除课程计划
    ResponseResult deleteTeachplan(Long id);
}
